﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace server
{
    public class GPSMessage
    {
        private string userid;
        private double locx;
        private double locy;
        private DateTime time;

        public string UserID { get { return userid; } set { userid = value; } }
        public double LocX { get { return locx; } set { locx = value; } }
        public double LocY { get { return locy; } set { locy = value; } }
        public DateTime Time { get { return time; } set { time = value; } }

        public GPSMessage(string userid, double locx, double locy, DateTime time)
        {
            this.userid = userid;
            this.locx = locx;
            this.locy = locy;
            this.time = time;
        }
    }
}
